<div class="container">
    <table class="table table-striped table-condensed">
        <thead>
        <tr>
            <th>Title</th>
            <th>Description</th>
            <th></th>
            <th></th>
        </tr>
        </thead>
        <tbody>
            <?php
                foreach($wizards as $wizard){
                    echo
                    "<tr>
                        <td class='span2'>
                            {$wizard->strTitle}
                        </td>
                        <td>
                            <div class='span8'>
                                {$wizard->strDesc}
                            </div>
                        </td>
                        <td>
                            <a class='btn btn-warning btn-mini disabled'><i class='icon-edit icon-white'></i> Edit</a>
                        </td>
                        <td>
                            <a class='btn btn-success btn-mini' data-toggle='modal' onclick='wizardPreview({$wizard->idWizard})'><i class='icon-eye-open icon-white'></i> Preview</a>
                        </td>
                    </tr>";
                }
            ?>
        </tbody>
    </table>
</div>
<div id='wizard_preview'></div>